package com.lxf.clouduser.mapper;

import com.lxf.clouduser.bean.UserServeBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 罗兴发
 * @data 2025/6/25 9:11
 * @description：客服服务-持久层
 */
@Mapper
public interface UserServeMapper {
    int addArtificialServe(@Param("list") List<UserServeBean> list);

    int updateUserServe(@Param("userServe") UserServeBean userServe);

    List<UserServeBean> getUserServeById(@Param("userId") Integer userId,
                                         @Param("status") Integer status);

    int updateUserServeStatus(@Param("list") List<Integer> list);

    UserServeBean getUserServeByServeId(@Param("serveId") String serveId);
}
